package com.xxxx.yeb.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.xxxx.yeb.pojo.Salary;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xxxx.yeb.pojo.SalarySet;
import io.swagger.models.auth.In;
import org.apache.ibatis.annotations.Param;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author zhoubin
 * @since 2020-07-17
 */
public interface SalaryMapper extends BaseMapper<Salary> {

    int countByName(String name);

    IPage<SalarySet> queryAllEmployeeSalary(IPage<SalarySet> page, @Param("salarySet") SalarySet salarySet);
}
